package com.liugl.uiwidgettest

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import utils.L

open class BasicActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        L.i("${javaClass.simpleName} is Creating...")
        ActivityController.addActivity(this)
    }

    override fun onDestroy() {
        super.onDestroy()
        ActivityController.removeActivity(this)
    }
}